package
{
	import flash.display.Bitmap;
	import flash.display.DisplayObject;
	import flash.display.Graphics;
	
	import mx.controls.Image;

	public class MapObject
	{
		public var id:uint;
		public var path:String;
		public var im:Object; //for mouse event only
		public var x:int;
		public var y:int;
		public static var BitmapObject:uint = 1;
		public static var MovieObject:uint = 2;
		//------------------------------------------
		//1-999: tree
		//1000-1999: resource
		//2000-2999: item
		//3000-3999: building
		//4000-4999: enemy
		public static var 
		//------------------------------------------
		public function GetType():uint
		{
			return 0;
		}
		public function MapObject(id:uint,path:String)
		{
			this.id = id;
			this.path = path;
		}
		public function SetDisplayData(o:Object):void
		{
			
		}
		public function GetDisplayData():Object
		{
			return null;
		}
		public function Draw(g:Graphics, x:int,y:int):void
		{
			
		}
		public function DrawHighlight(g:Graphics, x:int,y:int):void
		{
			
		}
		public function GetWidth():uint
		{
			return 0;
		}
		public function GetHeight():uint
		{
			return 0;	
		}
	}
}